// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import './filters'
import ElementUi from 'element-ui'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'element-ui/lib/theme-chalk/index.css'
import {tips, confirm} from './assets/js/tips.js'
// import VueI18n from 'vue-i18n'
// import LangEn from '../static/lang/en'
// import LangZh from '../static/lang/zh'

Vue.prototype.tips = tips
Vue.prototype.confirm = confirm
Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper)
Vue.use(ElementUi)
// Vue.use(VueI18n)

// const i18n = new VueI18n({
//   // 定义默认语言
//   locale: 'zh',
//   messages:{
//     'zh':LangZh,
//     'en':LangEn
//   }
// })

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  // i18n,
  store,
  components: { App },
  template: '<App/>'
})



// WEBPACK FOOTER //
// ./src/main.js
